or short circuit evaluation in javascript